package main

import "fmt"

func main() {
	var badMap = map[interface{}]int{
		"one": 1,
		2: 2,
		[1]int{3}: 3,  // 数组是合法的键
		// []int{4}: 4,  // 切片不能作为键，加上这句会Panic
	}
	fmt.Println(badMap)
}